package com.ysd.lis.controller.inv;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.inv.InvOrderParam;
import com.ysd.lis.request.inv.InvOrderReagentTransferParam;
import com.ysd.lis.service.inv.InvOrderReagentService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 订单明细表 前端控制器
 * </p>
 *
 * @author WH
 * @since 2024-09-19
 */
@RestController
@RequestMapping("/inv/orderReagent")
public class InvOrderReagentController extends BaseController {

    @Autowired
    InvOrderReagentService invOrderReagentService;

    @ApiOperation("查询")
    @GetMapping("/findOrderReagentList")
    public Result findOrderReagentList(InvOrderParam param){
        return invOrderReagentService.findOrderReagentList(param);
    }

    @ApiOperation("查询")
    @GetMapping("/findInOutStorageDetail")
    public Result findInOutStorageDetail(InvOrderParam param){
        return invOrderReagentService.findInOutStorageDetail(param);
    }
    @ApiOperation("出入库分类查询")
    @GetMapping("/findOrderReagentByTransferType")
    public Result findOrderReagentByTransferType(InvOrderReagentTransferParam param) {
        return invOrderReagentService.findOrderReagentByTransferType(param);
    }
}
